package com.damuzee.cms.model.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.cms.model.persistence.FieldTypeMapper;

/**
 * auto generator
 * 
 * @auth karka.w
 */
 
@Table(name = "cms_field_type")
@BaseResultMap(name=FieldTypeMapper.class)
public class FieldType extends BaseBean implements java.io.Serializable {

    //主键
 	@Id
  	@Column(name = "id")
  	private Integer id ;                              //
  	
  	@Column(name = "name")
  	private String name ;                              //下拉 、多选、文本、整数、浮点、图片、文件、单选、文本区
  	
  	@Column(name = "code")
  	private String code ;                              //select、checkbox、text、int、double、img 、file、radio、aretext 
  	
  	@Column(name = "is_file")
  	private Integer isFile ;                              //
  	
  	@Column(name = "is_mutil")
  	private Integer isMutil ;                              //
  	

    //构造函数
    public FieldType(){}

    public FieldType( Integer id    ){
        this.id = id;
    }

    public FieldType( Integer id, String name, String code, Integer isFile, Integer isMutil){
        this.id = id;
        this.name = name;
        this.code = code;
        this.isFile = isFile;
        this.isMutil = isMutil;
    }

    //getter和setter方法
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getIsFile() {
		return isFile;
	}

	public void setIsFile(Integer isFile) {
		this.isFile = isFile;
	}

	public Integer getIsMutil() {
		return isMutil;
	}

	public void setIsMutil(Integer isMutil) {
		this.isMutil = isMutil;
	}

}